package com.lizhaoshan.service;

import com.lizhaoshan.dto.EmployeeDto;
import com.lizhaoshan.pojo.Employee;
import com.lizhaoshan.pojo.PageBean;
import com.lizhaoshan.vo.EmployeeVo;

/**
 * @program: reggie
 * @description: 员工服务层接口
 * @author: lamour
 * @create: 2022-05-14 17:16
 **/
public interface EmployeeService {

    boolean insertEmployee(EmployeeDto employeeDto);

    boolean updateEmployee(EmployeeDto employeeDto);

    Employee selectByCondition(EmployeeDto employeeDto);

    PageBean<EmployeeVo> selectPage(Integer page, Integer pageSize, String name);

    Employee selectById(String id);
}
